package com.sunnyebuy.merchant.po;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * The persistent class for the merchant database table.
 * 
 */
@Entity
public class Merchant implements Serializable {

	private static final long serialVersionUID = 4976570674006331936L;
	private String merchantId;
	private Timestamp createdTime;
	private String customerId;
	private String merchantCity;
	private BigDecimal merchantCommissionRate;
	private String merchantCountry;
	private String merchantEmail;
	private String merchantFirstName;
	private int merchantGender;
	private String merchantIp;
	private String merchantLastName;
	private String merchantLevel;
	private String merchantPassword;
	private int merchantPaymentType;
	private String merchantPostcode;
	private BigDecimal merchantSalesAmount;
	private String merchantSalt;
	private String merchantState;
	private int merchantStatus;
	private String merchantStreet1;
	private String merchantStreet2;
	private String merchantTelephone;

	public Merchant() {
	}

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "merchant_id")
	public String getMerchantId() {
		return this.merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	@Column(name = "created_time")
	public Timestamp getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	@Column(name = "customer_id")
	public String getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	@Column(name = "merchant_city")
	public String getMerchantCity() {
		return this.merchantCity;
	}

	public void setMerchantCity(String merchantCity) {
		this.merchantCity = merchantCity;
	}

	@Column(name = "merchant_commission_rate")
	public BigDecimal getMerchantCommissionRate() {
		return this.merchantCommissionRate;
	}

	public void setMerchantCommissionRate(BigDecimal merchantCommissionRate) {
		this.merchantCommissionRate = merchantCommissionRate;
	}

	@Column(name = "merchant_country")
	public String getMerchantCountry() {
		return this.merchantCountry;
	}

	public void setMerchantCountry(String merchantCountry) {
		this.merchantCountry = merchantCountry;
	}

	@Column(name = "merchant_email")
	public String getMerchantEmail() {
		return this.merchantEmail;
	}

	public void setMerchantEmail(String merchantEmail) {
		this.merchantEmail = merchantEmail;
	}

	@Column(name = "merchant_first_name")
	public String getMerchantFirstName() {
		return this.merchantFirstName;
	}

	public void setMerchantFirstName(String merchantFirstName) {
		this.merchantFirstName = merchantFirstName;
	}

	@Column(name = "merchant_gender")
	public int getMerchantGender() {
		return this.merchantGender;
	}

	public void setMerchantGender(int merchantGender) {
		this.merchantGender = merchantGender;
	}

	@Column(name = "merchant_ip")
	public String getMerchantIp() {
		return this.merchantIp;
	}

	public void setMerchantIp(String merchantIp) {
		this.merchantIp = merchantIp;
	}

	@Column(name = "merchant_last_name")
	public String getMerchantLastName() {
		return this.merchantLastName;
	}

	public void setMerchantLastName(String merchantLastName) {
		this.merchantLastName = merchantLastName;
	}

	@Column(name = "merchant_level")
	public String getMerchantLevel() {
		return this.merchantLevel;
	}

	public void setMerchantLevel(String merchantLevel) {
		this.merchantLevel = merchantLevel;
	}

	@Column(name = "merchant_password")
	public String getMerchantPassword() {
		return this.merchantPassword;
	}

	public void setMerchantPassword(String merchantPassword) {
		this.merchantPassword = merchantPassword;
	}

	@Column(name = "merchant_payment_type")
	public int getMerchantPaymentType() {
		return this.merchantPaymentType;
	}

	public void setMerchantPaymentType(int merchantPaymentType) {
		this.merchantPaymentType = merchantPaymentType;
	}

	@Column(name = "merchant_postcode")
	public String getMerchantPostcode() {
		return this.merchantPostcode;
	}

	public void setMerchantPostcode(String merchantPostcode) {
		this.merchantPostcode = merchantPostcode;
	}

	@Column(name = "merchant_sales_amount")
	public BigDecimal getMerchantSalesAmount() {
		return this.merchantSalesAmount;
	}

	public void setMerchantSalesAmount(BigDecimal merchantSalesAmount) {
		this.merchantSalesAmount = merchantSalesAmount;
	}

	@Column(name = "merchant_salt")
	public String getMerchantSalt() {
		return this.merchantSalt;
	}

	public void setMerchantSalt(String merchantSalt) {
		this.merchantSalt = merchantSalt;
	}

	@Column(name = "merchant_state")
	public String getMerchantState() {
		return this.merchantState;
	}

	public void setMerchantState(String merchantState) {
		this.merchantState = merchantState;
	}

	@Column(name = "merchant_status")
	public int getMerchantStatus() {
		return this.merchantStatus;
	}

	public void setMerchantStatus(int merchantStatus) {
		this.merchantStatus = merchantStatus;
	}

	@Column(name = "merchant_street1")
	public String getMerchantStreet1() {
		return this.merchantStreet1;
	}

	public void setMerchantStreet1(String merchantStreet1) {
		this.merchantStreet1 = merchantStreet1;
	}

	@Column(name = "merchant_street2")
	public String getMerchantStreet2() {
		return this.merchantStreet2;
	}

	public void setMerchantStreet2(String merchantStreet2) {
		this.merchantStreet2 = merchantStreet2;
	}

	@Column(name = "merchant_telephone")
	public String getMerchantTelephone() {
		return this.merchantTelephone;
	}

	public void setMerchantTelephone(String merchantTelephone) {
		this.merchantTelephone = merchantTelephone;
	}

}